package com.qs.order.utils;

import com.qs.order.vo.ResultVo;

/**
 * @Desc:  返回前端的util
 * @author: jianfeng
 * @Time: 2019/9/17 14:23
 */
public class ResultVoUtil {

    public static ResultVo success(Object object){
        ResultVo resultVo=new ResultVo();
        resultVo.setCode(0);
        resultVo.setMsg("成功");
        resultVo.setData(object);
        return resultVo;
    }

}
